﻿@model ChatApp.Models.User
@{
    ViewBag.Title = "Login";
    Layout = "~/Views/Shared/_LoginPartial.cshtml";
}
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true, "Login failed. Check your login details.")
    ;
    <div class="form-box" id="login-box">
        <div class="header">Login</div>
        <form id="Form1" method="post" runat="server">
            <div class="body bg-gray">
                <div class="form-group">
                     @Html.TextBoxFor(u => u.AUserInfo.UserName, new {@class = "form-control", @id="txtUserId", @placeholder="User ID"})
                </div>
                <div class="form-group">
                      @Html.PasswordFor(u => u.AUserInfo.Password, new { @id="txtPasswd", @class="form-control", @placeholder="Password"})
                </div>
            </div>
            <div class="footer">
                <input runat="server" id="btnLogin" type="submit" class="btn bg-olive btn-block" text="Login" />
            </div>
        </form>
    </div>
}

